package jui.model
{
	import flash.display.Shader;

	public class Config
	{
		public var startWebLocation: String = "http://juick.com/rostag/friends";

		public var openLinksInsideJUI: Boolean = true;
		
		public var jid: String = "rostag@jabber.org/JUI";
		public var pss: String = "";
		
		public var autoConnectAtStart: Boolean = false;
		
		public var juickBaseURL: String = "http://juick.com/";
		
		public const LINK_EVENT_REPLY_TO: String = "LinkEventReplyTo";
		public const LINK_EVENT_DELETE_MESSAGE_BY_ID: String = "LinkEventDMessageById";
		public const LINK_EVENT_READ_MESSAGE_BY_ID: String = "LinkEventReadMessageById";
		public const LINK_EVENT_UNSUBSRIBE_FROM_MESSAGE_BY_ID: String = "LinkEventUnsubscribeFromMessageById";
		public const LINK_EVENT_SUBSCRIBE_TO_MESSAGE_BY_ID: String = "LinkEventSubscribeToMessageById";
		public const LINK_EVENT_OPEN_URL: String = "LinkEventOpenUrl";

		// Design config
		public var deReplyQuoteTextColor: String = "888888";
		
		private static var _cnf: Config; 
		
		public static function getConfig(): Config
		{
			if ( _cnf == null)
			{
				_cnf = new Config(); 
			}
			return _cnf;
		}
		
		public function Config()
 		{
			var a: Shader
			//throw new Error
 		}
	}
}